package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Letter;
import cn.wolfcode.trip.base.query.LetterQueryObject;
import com.github.pagehelper.PageInfo;

public interface ILetterService {
    void insertByUserId(Letter letter);

    int notletters(Long userId);

    PageInfo<Letter> query(LetterQueryObject qo);

    void updateIsViewed(Long userId);
}
